public class Test {
    public static void main(String[] args) {
        MyQueue myQueue = new MyQueue();
        myQueue.add(1);
        myQueue.add(2);
        myQueue.add(3);
        myQueue.add(4);
        int cur = myQueue.pull();
        int cur1 = myQueue.pull();
        System.out.println(cur);
        System.out.println(cur1);
        int a = myQueue.peek();
        System.out.println(a);
    }
}
